<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>    
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> 
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>系统页面</title>
 	<script type="text/javascript" src="${basePath}js/jquery/jquery-1.11.1.min.js"></script>
	<script type="text/javascript" src="${basePath}js/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="${basePath}js/easyui/locale/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript" src="${basePath}js/system/serialize.js"></script>
	<script type="text/javascript" src="${basePath}js/system/util.js"></script>

	<link rel="stylesheet" type="text/css" href="${basePath}css/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="${basePath}css/easyui/themes/color.css">
	<link rel="stylesheet" type="text/css" href="${basePath}css/easyui/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="${basePath}css/default.css">

</head>

<body  >
<form id="addff" method="post">
    <input type="hidden" id="hospital" name="hospital"/>
    <input type="hidden" id="department1" name="department1"/>
    <input type="hidden" id="department2" name="department2"/>
	<div style="height: 5px;"></div>
		<div>
			<table width="100%">
				<tr >
					<td>
						<span style="color: red">*</span><font size="3px;">就诊医院:</font>
						<select data-options="required:true" id="hospitalId" name="hospitalId" class="easyui-combobox" style="width:180px;height:30px;"></select>
					</td>
					<td>
						<span style="color: red">*</span><font size="3px;">科&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;室1:</font>
						<select data-options="required:true" id="department1Id" name="department1Id" class="easyui-combobox" style="width:180px;height:30px;"></select>
					</td>
					<td>
						<span style="color: red">*</span><font size="3px;">科&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;室2:</font>
						<select data-options="required:true" id="department2Id" name="department2Id" class="easyui-combobox" style="width:180px;height:30px;"></select>
					</td>
				</tr>

				<tr>
					<td >
						<span style="color: red">*</span><font size="3px;">就诊时间:</font>
						<input class="easyui-datetimebox" data-options="required:true" name="visitDoctorTime" editable="fasle" style="height:30px; width:180px;line-height: 26px; border: 1px solid #ccc"/>
					</td>
					<td>
						<span style="color: red">*</span><font size="3px;">主治医生:</font>
						<input class="easyui-textbox" data-options="required:true" id="doctor" name="doctor" style="width:180px;height:30px" >
					</td>
					<td>
						<span style="color: red">*</span><font size="3px;">医生级别:</font>
						<select id="doctorRank" class="easyui-combobox" name="doctorRank" style="width:180px;height: 30px;">
							<option value="普通医生">普通医生</option>
							<option value="副主任医生">副主任医生</option>
							<option value="主任医生">主任医生</option>
						</select>
					</td>
				</tr>

			</table>
		</div>
		<div>
			<table width="100%">
				<tr>
						<td colspan="3">
							<div >
								<h2><span style="color: red">*</span>主要症状：</h2>
							</div>
						</td>			
					</tr>			

				<tr >			
					<td colspan="3">
						<div style="margin-bottom:15px">
							<input class="easyui-textbox" data-options="required:true, missingMessage:'请输入主要症状'" id="symptom" name = "symptom" style="width:820px;height:40px" >
						</div>
									
					</td>
	
				</tr>			
			</table>
		</div>
	<div>
		<table width="100%">
			<tr >
				<td>
					<font size="3px;">检查项目:</font>
					<input class="easyui-textbox" id="checkType" name = "checkType" style="width:820px;height:40px" >

				</td>
			</tr>
		</table>
	</div>
	<div>
		<table width="100%">
			<tr>
				<td colspan="3">
					<div >
						<h2>检查结果：</h2>
					</div>
				</td>
			</tr>

			<tr >
				<td colspan="3">
					<div style="margin-bottom:15px">
						<input class="easyui-textbox" id="checkResult" name = "checkResult" style="width:820px;height:40px" >
					</div>

				</td>

			</tr>
		</table>
	</div>
	<div>
		<table width="100%">
			<tr>
				<td colspan="3">
					<div >
						<h2><span style="color: red">*</span>医嘱：</h2>
					</div>
				</td>
			</tr>

			<tr >
				<td colspan="3">
					<div style="margin-bottom:15px">
						<input class="easyui-textbox" data-options="required:true, missingMessage:'请输入医嘱'" name="doctorAdvice" style="width:820px;height:40px" >
					</div>

				</td>

			</tr>
		</table>
	</div>
	<div>
		<table width="100%">
			<tr>
				<td colspan="3">
					<div >
						<h2>用药：</h2>
					</div>
				</td>
			</tr>

			<tr >
				<td colspan="3">
					<div style="margin-bottom:15px">
						<input class="easyui-textbox"  name="useMedicine" style="width:820px;height:40px" >
					</div>

				</td>

			</tr>
		</table>
	</div>
	<div>
		<div>
			<table width="100%">
				<tr >			
					<td colspan="4" align="center" width="615px;">
						<div>
							<input type="button" class="cancelbtn" value="取消"  onclick="cancelDlg('addDlg');"  />
							<input id="submitMedicalHistoryAddId" type="button" class="submitbtn" value="提交"  onclick="submitAdd();"  />
						</div>				
					</td>
				</tr>												
			</table>		
		</div>


</div>
 <div id="cc" class="easyui-calendar" style="display: none;"></div>   
</form>

</body>

</html>